package com.fsk.user;

import com.netflix.discovery.DiscoveryClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.fsk.user.dao.mapper")
@ComponentScan("com.fsk.user.config")
@EnableEurekaClient
public class UserStart {
    public static void main(String[] args) {
        ConfigurableApplicationContext springbootContext = SpringApplication.run(UserStart.class, args);
    }
}
